import React, { Component } from 'react';
import OrderHistoryList from './components/OrderHistoryList';

export default class OrderHistoryPage extends Component {
  static navigationOptions = ({navigation, screenProps}) => {
    return {
      title: `#${navigation.state.params.displayId} ${screenProps.chinese?'历史':'History'}`,
    };
  };
  render() {
    return <OrderHistoryList orderId={this.props.navigation.state.params.id}/>;
  }
}
